package com.spzx.feign.cart;

import com.spzx.model.entity.h5.CartInfo;
import com.spzx.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * service-cart模块远程调用
 * Project: spzx-parent
 * Package: com.spzx.feign.cart
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/4/27 下午11:44
 */
@FeignClient(value = "service-cart")
public interface CartFeignClient {
    //选中的购物车
    @GetMapping(value = "/api/order/cart/auth/getAllCkecked")
    public abstract List<CartInfo> getAllCkecked();

    //删除购物车
    @GetMapping(value = "/api/order/cart/auth/deleteChecked")
    public abstract Result deleteChecked();
}
